package com.hex.ds.hdtp.core.app.data.table.dto.response;

import com.hex.ds.hdtp.core.app.data.table.dto.TableTransferFieldMapDto;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Package com.hex.ds.hdtp.core.app.data.table.dto.response
 * @ClassName TableTransferFieldMapResponseDto
 * @Description 表迁移清单字段映射-任务ResponseDto对象
 * @Author Wang zhihao
 * @Date 2023/8/9 11:52
 * @Version v1.0
 **/
@Data
@Accessors(chain = true)
public class TableTransferFieldMapResponseDto extends TableTransferFieldMapDto {

    public String getTargetFieldNameUpper() {
        return targetFieldName.toUpperCase();
    }
    public String getSourceFieldNameUpper() {
        return sourceFieldName.toUpperCase();
    }
    public String getTargetFieldNameLower() {
        return targetFieldName.toLowerCase();
    }
    public String getSourceFieldTypeUpper() {
        return sourceFieldType.toUpperCase();
    }
}
